package com.sz.mes.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.sz.mes.entity.BaseCustomEntity;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 商品 Entity定义
 * @author hem
 * @version 1.0
 * @date 2023-06-14
 * Copyright © szhs
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("goods")
public class Goods extends BaseCustomEntity {

    private static final long serialVersionUID = 5081869803585722177L;

    /**
     * 生产部门编码
     */
    @TableField()
    private String productCode;

    /**
     * 生产部门名称
     */
    @TableField()
    private String productGroupName;

    /**
     * 料号
     */
    @TableField()
    private String goodsCode;

    /**
     * 单位
     */
    @TableField()
    private String unit;

    /**
     * 品名
     */
    @TableField()
    private String goodsName;

    /**
     * 规格
     */
    @TableField()
    private String specifications;

    /**
     * 生产任务编号
     */
    @TableField()
    private Long productTaskId;

    /**
     * excel内容
     */
    @TableField()
    private String excelData;

    /**
     * 存储编码
     */
    @TableField()
    private String saveCode;

    /**
     * 存储地点
     */
    @TableField()
    private String saveLocation;

    /**
     * 形态属性
     */
    @TableField()
    private String shapeType;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    /**
     * 财务分类编码
     */
    @TableField()
    private String financiaCode;

    /**
     * 财务分类名称
     */
    @TableField()
    private String financialName;
}
